import Loadable from 'react-loadable'
import Loading from '../components/Loading'

export const Login = Loadable({
    loader: () => import('./Login'),
    loading: Loading
})

export const Register = Loadable({
    loader: () => import('./Register'),
    loading: Loading
})

export const Dashboard = Loadable({
    loader: () => import('./Dashboard'),
    loading: Loading
})

export const CarInfo = Loadable({
    loader: () => import('./CarInfo'),
    loading: Loading
})

export const CarManagers = Loadable({
    loader: () => import('./CarManagers'),
    loading: Loading
})

export const Informat = Loadable({
    loader: () => import('./Informat'),
    loading: Loading
})

export const LeasingManagement = Loadable({
    loader: () => import('./LeasingManagement'),
    loading: Loading
})

export const NotFound = Loadable({
    loader: () => import('./NotFound'),
    loading: Loading
})

export const Notification = Loadable({
    loader: () => import('./Notification'),
    loading: Loading
})

export const User = Loadable({
    loader: () => import('./User'),
    loading: Loading
})

export const Test = Loadable({
    loader: () => import('./Test'),
    loading: Loading
})

export const HomePage = Loadable({
    loader: () => import('./HomePage'),
    loading: Loading
})

export const PersonalCenter = Loadable({
    loader: () => import('./PersonalCenter'),
    loading: Loading
})

export const Notice = Loadable({
    loader: () => import('./Notice'),
    loading: Loading
})

